package com.java2207.group1.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 15319 2022/7/25 17:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Occupancy {

    private Integer id;
    //性别

    private String name;
    //年龄

    private String age;
    //性别

    private String sex;
    //监护人

    private String guardian;
    //监护人电话

    private String phone;
    //健康状态

    private String health;
    //入院时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private Date annihdate;

    //预交费金额

    private String deposit;

    //入院老人照片

    private String pic;
}
